<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <div th:replace="~{/fragment/header :: header}"></div>
    <div th:replace="~{/fragment/header :: header-css}"></div>
    <div th:replace="~{/fragment/header :: header-nav}"></div>
</head>
<body>
<form action="/user/save" th:action="@{/pricing/save}" th:object="${pricing}" method="post">
    <input th:field="*{id}" type="hidden"/>
    <div class="mb-3">
        <label for="hourlyRate" class="form-label">按小时计费:</label>
        <input type="text" th:field="*{hourlyRate}" class="form-control" id="hourlyRate" aria-describedby="emailHelp">
    </div>
    <div class="mb-3">
        <label for="dailyRate" class="form-label">按天计费:</label>
        <input type="text" th:field="*{dailyRate}" class="form-control" id="dailyRate" aria-describedby="emailHelp">
    </div>
    <div class="mb-3">
        <label for="exceedingHour" class="form-label">超过限定小时按天收费</label>
        <input type="text" th:field="*{exceedingHour}" class="form-control" id="exceedingHour">
    </div>
    <div class="mb-3">
        <label for="updateTime" class="form-label">更新时间</label>
        <input type="text" th:field="*{updateTime}" class="form-control" id="updateTime">
    </div>
    <div class="mb-3 form-check">
        <input type="checkbox" class="form-check-input" id="exampleCheck1">
        <label class="form-check-label" for="exampleCheck1">检查</label>
    </div>
    <button type="submit" class="btn btn-primary">提交</button>

    <a th:href="@{/pricing/list}" class="btn btn-danger">返回</a>
</form>

</body>
<div th:replace="~{/fragment/footer :: footer}"></div>
<div th:replace="~{/fragment/header :: header-js}"></div>
</html>